bitkeeper revision 1.1159.76.2 (41476bf8DtivcqdJjf8LGjPT87C7wA)
authorkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Tue, 14 Sep 2004 22:08:56 +0000 (22:08 +0000)
committerkaf24@freefall.cl.cam.ac.uk <kaf24@freefall.cl.cam.ac.uk>
Tue, 14 Sep 2004 22:08:56 +0000 (22:08 +0000)
Fix an error-path page refcnt bug (Charles Coffing).

xen/arch/x86/memory.c

index df7ac863015a30ae82690478fd73f2c7f9c8833b..ea73908a965cb55fb7142e4ccb9b5fc715338182 100644 (file)
@@ -984,7 +984,6 @@ static int do_extended_command(unsigned long ptr, unsigned long val)
         if ( unlikely(!okay) )
         {
             MEM_LOG("Error while pinning pfn %08lx", pfn);
-            put_page(page);
             break;
         }